Spread WPF 17
GrapeCity.CalcEngine.Functions Namespace / CalcFvFunction Class / Evaluate Method / Evaluate(Object[]) Method

The args contains 3 - 5 items: rate, nper, pmt, [pv], [type].

Rate is the interest rate per period.

Nper is the total number of payment periods in an annuity.

Pmt is the payment made each period; it cannot change over the life of the annuity. Typically, pmt contains principal and interest but no other fees or taxes. If pmt is omitted, you must include the pv argument.

Pv is the present value, or the lump-sum amount that a series of future payments is worth right now. If pv is omitted, it is assumed to be 0 (zero), and you must include the pmt argument.

Type is the number 0 or 1 and indicates when payments are due. If type is omitted, it is assumed to be 0.



In This Topic
    Evaluate(Object[]) Method
    In This Topic
    Returns the System.Double future value of an investment based on periodic, constant payments and a constant interest rate.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function Evaluate( _
       ByVal args() As Object _
    ) As Object
    'Usage
     
    Dim instance As CalcFvFunction
    Dim args() As Object
    Dim value As Object
     
    value = instance.Evaluate(args)
    public override object Evaluate( 
       object[] args
    )

    Parameters

    args

    The args contains 3 - 5 items: rate, nper, pmt, [pv], [type].

    Rate is the interest rate per period.

    Nper is the total number of payment periods in an annuity.

    Pmt is the payment made each period; it cannot change over the life of the annuity. Typically, pmt contains principal and interest but no other fees or taxes. If pmt is omitted, you must include the pv argument.

    Pv is the present value, or the lump-sum amount that a series of future payments is worth right now. If pv is omitted, it is assumed to be 0 (zero), and you must include the pmt argument.

    Type is the number 0 or 1 and indicates when payments are due. If type is omitted, it is assumed to be 0.

    Return Value

    A System.Double value that indicates the evaluate result.
    See Also